package com.byit.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.byit.domain.AppUserDevice;
import com.byit.mapper.AppUserDeviceMapper;
import com.byit.service.IAppUserDeviceService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author puyunfeng
 * @create ${date} ${time}
 **/
@Service
public class AppUserDeviceServiceImpl extends ServiceImpl<AppUserDeviceMapper, AppUserDevice> implements IAppUserDeviceService {

    @Override
    public List<JSONObject> selectByUserId(Long userId) {
        List<JSONObject> list = this.baseMapper.selectByUserId(userId);
        return list;
    }
}
